package com.hongmeng.operater.domain.operaterUser;

import com.hongmeng.common.annotation.Excel;
import com.hongmeng.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 医生经纪人信息对象 hm_doctor_agent
 *
 * @author hongmeng
 * @date 2021-02-22
 */
@ApiModel
public class HmDoctorAgent extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 医生经纪人id
     */
    private Integer id;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    @ApiModelProperty("姓名")
    private String agentName;

    /**
     * 性别
     */
    @Excel(name = "性别")
    @ApiModelProperty("性别")
    private String sex;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号")
    @ApiModelProperty("身份证号")
    private String idCard;

    /**
     * 所属公司
     */
    @Excel(name = "所属公司")
    @ApiModelProperty("所属公司")
    private String company;

    /**
     * 手机
     */
    @Excel(name = "手机")
    @ApiModelProperty("手机")
    private String phone;

    /**
     * 邮箱
     */
    @Excel(name = "邮箱")
    @ApiModelProperty("邮箱")
    private String email;

    /**
     * 开户行
     */
    @Excel(name = "开户行")
    @ApiModelProperty("开户行")
    private String bankName;

    /**
     * 银行账号
     */
    @Excel(name = "银行账号")
    @ApiModelProperty("银行账号")
    private String bankAccount;

    /**
     * 药代备案号
     */
    @Excel(name = "药代备案号")
    @ApiModelProperty("药代备案号")
    private String agentRecordNo;

    /**
     * 学历
     */
    @Excel(name = "学历")
    @ApiModelProperty("学历")
    private String education;

    /**
     * 毕业院校
     */
    @Excel(name = "毕业院校")
    @ApiModelProperty("毕业院校")
    private String graduatedSchool;

    /**
     * 专业
     */
    @Excel(name = "专业")
    @ApiModelProperty("专业")
    private String specialty;

    /**
     * 关联用户表id
     */
    @Excel(name = "关联用户表id")
    @ApiModelProperty("关联用户表id")
    private Long userId;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSex() {
        return sex;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getCompany() {
        return company;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmail() {
        return email;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setAgentRecordNo(String agentRecordNo) {
        this.agentRecordNo = agentRecordNo;
    }

    public String getAgentRecordNo() {
        return agentRecordNo;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getEducation() {
        return education;
    }

    public void setGraduatedSchool(String graduatedSchool) {
        this.graduatedSchool = graduatedSchool;
    }

    public String getGraduatedSchool() {
        return graduatedSchool;
    }

    public void setSpecialty(String specialty) {
        this.specialty = specialty;
    }

    public String getSpecialty() {
        return specialty;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("agentName", getAgentName())
                .append("sex", getSex())
                .append("idCard", getIdCard())
                .append("company", getCompany())
                .append("phone", getPhone())
                .append("email", getEmail())
                .append("bankName", getBankName())
                .append("bankAccount", getBankAccount())
                .append("agentRecordNo", getAgentRecordNo())
                .append("education", getEducation())
                .append("graduatedSchool", getGraduatedSchool())
                .append("specialty", getSpecialty())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("userId", getUserId())
                .toString();
    }
}